package lab02.Test06;

/**
 * Created by lady on 2017/10/14.
 */
public class Ladder {
    //属性:上底、下底、高、面积
double bottom;
double above;
double height;
double area;
    //行为:面积
double area(){
    return ((above+bottom)*height)/2;
}
}
